#encoding: UTF-8
import os

#cookie secret
SECRET_KEY = os.urandom(24)

#数据库配置
DIALECT = 'mysql'#不要改
DRIVER = 'mysqldb'#不要改
USERNAME = 'root'#数据库用户名
PASSWORD = 'root'#用户的密码
HOST = '127.0.0.1'#数据库运行的IP地址/域名
PORT = '3306'#数据库运行的端口
DATABASE = 'db_test'#数据库的名字
#下面的不要改
SQLALCHEMY_DATABASE_URI = "%s+%s://%s:%s@%s:%s/%s?charset=utf8" %(DIALECT, DRIVER, USERNAME, PASSWORD, HOST, PORT, DATABASE)
SQLACCHEMY_TRACK_MODIFICATIONS = False